﻿using Fozzy;
using Fozzy.Family;
using Microsoft.FamilyShowLib;
using System.Collections.Generic;

namespace Microsoft.FamilyShow
{
    class Export                                                        : Command
    {
        #region States
        #endregion

        #region Properties
            protected Resource      Resource                            { get { return Module.Resources.Instance("DefaultGedcomExtension")            ; } }
        #endregion

        #region Constructeur
            public Export()                                             
            {}
            public Export(Name name)                                    : base("Export", name)
            {}
        #endregion

            protected override void Prepare()
            {
                //base.Add_Filters();                   : Attention pas de Base.Add ...
                //dialog.Filter.Add(new FilterEntry(Properties.Resources.GedcomFiles, Properties.Resources.GedcomExtension));
                //dialog.Filter.Add(new FilterEntry(Properties.Resources.AllFiles, Properties.Resources.AllExtension));
                Add(new Gedcoms())                                      ;
            }

    }

}
